Table of Contents Previous Section

Visitors Example

To explain how a WebScript operates within the larger context of a WebObjects application, this section uses the Visitors application as an example. The Visitors application takes the name of the current visitor, and displays the most recent visitor as well as the total number of visitors to the page:

The Visitors application includes the following directories and files:

/Visitors
  Application.wos
  /Main.wo
      Main.html
      Main.wod
      Main.wos

The features introduced in this example are discussed in the following sections.

Table of Contents Next Section